home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / remote / mult200.zip / DVACTIVE.DOC < prev    next >
Text File  |  1991-12-10  |  614b  |  24 lines

  1.  
  2. DVActive is a little utility i whipped up one night that is used in .BAT
  3. files to determine if we are running under DESQview. 
  4.  
  5. DVActive returns an errorlevel of 1 if DESQview is detected, or 0 if not
  6. detected.
  7.  
  8. just run DVActive in your .BAT file without any command line parameters and
  9. then check the errorlevel returned.
  10.  
  11. dvactive
  12. if errorlevel 1 goto dvstuff
  13. goto normal
  14. :dvstuff
  15. echo we're running under DV!
  16. goto end
  17. :normal
  18. echo DESQview was not detected...
  19. :end
  20.  
  21. DVActive is placed in the Public Domain and may be distributed to anyone who
  22. might need to detect DV from a .BAT file.
  23.  
  24.